﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HastcAdapter.FileParser.Structure
{
    public class STS_LE
    {
        private DateTime _TRANSDATE;
        public System.DateTime TIME
        {
            get { return _TRANSDATE; }
            set { _TRANSDATE = value; }
        }
        private string _CODE;
        public string CODE
        {
            get { return _CODE; }
            set { _CODE = value; }
        }
        private decimal _STOCKID;
        public decimal STOCK_ID
        {
            get { return _STOCKID; }
            set { _STOCKID = value; }
        }
        private decimal _PRICE;
        public decimal PRICE
        {
            get { return _PRICE; }
            set { _PRICE = value; }
        }
        private decimal _QUANTITY;
        public decimal QUANTITY
        {
            get { return _QUANTITY; }
            set { _QUANTITY = value; }
        }
        private decimal _HIGHEST;
        public decimal HIGHEST_PRICE
        {
            get { return _HIGHEST; }
            set { _HIGHEST = value; }
        }
        private decimal _LOWEST;
        public decimal LOWEST_PRICE
        {
            get { return _LOWEST; }
            set { _LOWEST = value; }
        }
        private decimal _TOTAL_TRADING_QTTY;
        public decimal TOTAL_TRADING_QTTY
        {
            get { return _TOTAL_TRADING_QTTY; }
            set { _TOTAL_TRADING_QTTY = value; }
        }
        public STS_LE(DateTime time, string code, decimal stockid, decimal price, decimal qtty, decimal highest, decimal lowest, decimal totalqtty)
        {
            this._TRANSDATE = time;
            this._CODE = code;
            this._STOCKID = stockid;
            this._PRICE = price;
            this._QUANTITY = qtty;
            this._HIGHEST = highest;
            this._LOWEST = lowest;
            this._TOTAL_TRADING_QTTY = totalqtty;
        }
    }
}
